{literal}
    <style type="text/css">
    .lib{
        font-weight:bold;
        text-align:center;
        margin-bottom:20px;
        background:#a8cfdf;
    }
    .g{
       width:200px; 
    }
    .c{
       width:400px; 
    }
    .d{
       width:200px; 
    }
    .data{
        background:#eff7fb;
    }
    </style>
{/literal}    
{if isset($detailAnnonce)}
<div>
    <h3>{$detailAnnonce->title1}</h3>
    <div class="clear"></div>
    <table id="rounded-corner">
    
    {if sizeOf($detailAnnonce->all)}
            <tr><th>Référence n°</th><th>Paramètres de Connexion</th><th>Date de Saisie</th></tr>
        {foreach $detailAnnonce->all as $key=>$value}
           
            <tr class="data">
                <td class="g"><a href="{jurl 'annonce~BoAnnonce:previsualiser',array('idOccasion'=>$value->IdOccasion)}">{$value->Occas_Reference}</a></td>
                <td class="c">{$value->Nom} - {$value->Vendeur_Naissance} - {$value->Occas_NumImmatricul}</td>
                <td class="d">{$value->Occas_DateSaisie}</td>
            </tr>
        {/foreach}
    {/if}    
    </table>
    {if ($detailAnnonce->nbRes == 0)}Aucune annonce trouv&#233;e
    {else}
        <div class="clear">&nbsp;</div>
     <div class="pagination">
    <!-- begin Pagination -->
        {if $oNavBar->iNbPages > 1}
        <div class="navigPage clearfix">
            {if $oNavBar->iPrevPage > 0}
                <a class="prec" href="{jurl 'annonce~BoAnnonceParOrigine:index', array('iCurrentPage' => $oNavBar->iPrevPage,'type'=>$detailAnnonce->type,'id'=>$detailAnnonce->idP)}" title="Précedente"> < </a>&nbsp;
            {/if}

            {foreach $oNavBar->tiPages as $iPage}
                <a  title="page {$iPage}" href="{jurl 'annonce~BoAnnonceParOrigine:index', array('iCurrentPage' => $iPage,'type'=>$detailAnnonce->type,'id'=>$detailAnnonce->idP)}" 
                    {if $iPage == $oNavBar->iCurrPage} class="current" {/if}
                >{$iPage}</a>&nbsp;|
            {/foreach}

            {if $oNavBar->iShowLast > 0}
                …&nbsp;|
                <a title="page {$oNavBar->iNbPages}" href="{jurl 'annonce~BoAnnonceParOrigine:index', array('iCurrentPage' => $oNavBar->iNbPages,'type'=>$detailAnnonce->type,'id'=>$detailAnnonce->idP)}">{$oNavBar->iNbPages}</a>&nbsp;
            {/if}

            {if $oNavBar->iNbPages > $oNavBar->iCurrPage}
                <a title="suivant" href="{jurl 'annonce~BoAnnonceParOrigine:index', array('iCurrentPage' => $oNavBar->iNextPage,'type'=>$detailAnnonce->type,'id'=>$detailAnnonce->idP)}"> > </a>
            {/if}

        </div>
        {/if}
    <!-- end Pagination -->
</div>    
        
    
    {/if}
</div>
{/if}